package com.gk.springauth2order.sevice.impl;

import com.gk.springauth2order.feign.EmailFeign;
import com.gk.springauth2order.sevice.EmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author poison
 * @Date 2020/10/19 13:50
 */
@Service
public class EmailServiceImpl implements EmailService {

    @Autowired
    private EmailFeign emailFeign;

    @Override
    public String emailTest() {
        return emailFeign.sendEmail();
    }
}
